{{if condition="$form"}}
<div class="layui-form-item">
    <div class="layui-form-item">
        <label class="layui-form-label">{{$label}}</label>
        <div class="layui-input-block">
            {{volist name="imgArr" id="vo"}}
            <img src="{{$vo}}" width="60px" onclick="previewImg(this)">
            {{/volist}}
        </div>
    </div>
</div>
{{else /}}
{{volist name="imgArr" id="vo"}}
<img src="{{$vo}}" width="60px" onclick="previewImg(this)">
{{/volist}}
{{/if}}

